package(default_visibility = ["//visibility:public"])

# bin
sh_binary(
    name = "bin",
    srcs = ["bin.sh"],
    deps = [
        "@bazel_tools//tools/bash/runfiles",
    ],
)
# lib
sh_library(
    name = "ash",
    deps = select({
        ":excelsior": [":manna-ash"],
        ":americana": [":white-ash"],
        "//conditions:default": [":common-ash"],
    }),
)
sh_library(name = "manna-ash")
sh_library(name = "white-ash")
sh_library(name = "common-ash")

config_setting(
    name = "excelsior",
    values = {"define": "species=excelsior"},
)
config_setting(
    name = "americana",
    values = {"define": "species=americana"},
)